#pragma once
#include "netPack.h"


enum 
{
	NETPACK_INVAILD,    	
	NETPACK_VARIANT,	
};

class NetPackVariant : public NetPack
{
public:
	DECLAR_PACK(NetPackVariant, NETPACK_VARIANT);
	NetPackVariant();

	virtual bool pack(QByteArray &buffer) const;
	virtual bool unPack(const QByteArray &buffer);	
	
	QByteArray data;
};


void NetPackRegist();